<?
	$pageSize = 8;
	$pageNum = 1;
	
    if (isset($_GET['pageNum'])==true) $pageNum = $_GET['pageNum'];
	
	$totalRows = 0;
	$sanpham=$t->get_phantrang_order($pageNum,$pageSize,$totalRows,"tintuc");
?>

<div class="right" style="border-radius:5px 5px 5px 5px;">
<div class="title_right">
	<h1><?=$language[$lang]['tintuc'];?></h1>
</div>
<div class="content_right" style="text-align:center;">
    <div style="width:700px;float:left;margin-left:18px;text-align:left;">
    	<? while($row_sp_index=mysql_fetch_assoc($sanpham)){
			?>
            <div style="width:700px;float:left;padding:8px 0px;border-bottom:1px dashed #333333;">
           	<a href="<?=$rooturl?><?=$list['5']['alias'];?>/<?=convert($row_sp_index['ten_'.$lang])?>-<?=$row_sp_index['id']?>.html" style="color:#015178;" >
        	<p style="font-weight:bold;color:#015178;margin:4px 0px;">
            <?=$row_sp_index['ten_'.$lang]?>
            </p>
            <img src="<?=$row_sp_index['url_img']?>" class="sp_index" width="158" height="91" style="margin-right:5px;float:left;" />
            <?=strip_tags($row_sp_index['tomtat_'.$lang]);?>
            </a>
            </div>
            <? }?>
    </div>
    <div class="showpageArea" style="text-align:right;">
        <?php echo $t->pagesList1($rooturl.$_GET['a'],$totalRows,$pageNum,$pageSize,5); ?>
</div>
</div>
</div>
